package com.ruoyi.common.enums.zyl;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 订单状态枚举
 *
 * @author zyl
 * @date 2022/01/05
 */
@Getter
@AllArgsConstructor
public enum InventoryOrderStatusEnum implements IEnum<String> {

    COMPLETE("1", "已完成"),
    AFTER_SALE_SERVICE("2", "售后中"),
    PROCESSING("3", "处理中"),
    INVALID_ACCOUNT("4", "作废号"),
    PROBLEM_ACCOUNT("5", "问题号"),
    CANCEL("6", "已取消");

    @EnumValue
    @JsonValue
    private final String value;

    private final String label;

}
